using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace way.model
{
    public class MenuEntity
    {
        public string table { get; set; }
        public int id { get; set; }
        public string name { get; set; }
        public int up { get; set; } 
        public int type { get; set; } 
        public int level { get; set; } 
        public int sort { get; set; } 
        public int status { get; set; }
        public string? url { get; set; } 
        public DateTime? create { get; set; }
        public DateTime? update { get; set; }

        //public Menu(){}
        //public Menu(string table, int id, string name)
        //{
        //    this.table = table;
        //    this.id = id;
        //    this.name = name;
        //}
        /*public Menu Parent { get; set; }

        public ICollection<Menu> Children { get; set; } = new List<Menu>();*/
    }
}
